import { ApiProperty } from "@nestjs/swagger";
import { Entity } from "typeorm";

/*
 * @Author: 黑白灰01 3193273703@qq.com
 * @Date: 2025-09-10 10:37:53
 * @LastEditors: 黑白灰01 3193273703@qq.com
 * @LastEditTime: 2025-09-10 12:35:09
 * @FilePath: /auth/src/user/dto/create-user.dto.ts
 * @Description: 用户创建请求体
 * 
 * Copyright (c) 2025 by 3193273703@qq.com, All Rights Reserved. 
 */
@Entity()
export class CreateUserDto {
    @ApiProperty({
        description: '用户名',
        example: 'admin'
    })
    username: string;
    @ApiProperty({
        description: '密码',
        example: '123456'
    })
    password: string;

}
